package com.zmj.sy.mom.srv.aps.mapper;

import com.zmj.sy.mom.srv.aps.bean.entity.nest.NestReceiveMove;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface NestReceiveMoveMapper extends SyMapper<NestReceiveMove> {

    @Select("DELETE FROM tb_nest_receive_move WHERE id=#{id}")
    void deleteWithId(@Param("id") Integer id);

    @Select("DELETE FROM tb_nest_receive_move WHERE nest_code = #{nestCode}")
    void deleteMesNestWithCode(@Param("nestCode") String nestCode);

}
